{% extends 'base.html' %}
{% load static %}
{% block content %}

<!-- 轮播组件 -->
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-bs-interval="2000">
    <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
    </ol>
    <div class="carousel-inner">
        <div class="item active">
            <img src="{% static '/img/slide1.jpg' %}" alt="First slide" class="img-responsive">
            <div class="carousel-caption d-none d-md-block">珞珈智评</div>
        </div>
        <div class="item">
            <img src="{% static '/img/slide2.jpg' %}" alt="Second slide" class="img-responsive">
            <div class="carousel-caption d-none d-md-block"></div>
        </div>
        <div class="item">
            <img src="{% static '/img/slide3.jpg' %}" alt="Third slide" class="img-responsive">
            <div class="carousel-caption d-none d-md-block"></div>
        </div>
    </div>
    <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>

<!-- 欢迎标题 -->
<div class="content text-center">
    <h1><small>欢迎使用</small></h1>
    <h1><strong>珞珈智评智能阅卷系统</strong></h1>

</div>

<!-- 关于我们模块 -->
<div class="about-us-section">
    <h1 class="about-us-title">项目介绍</h1>
    <link rel="stylesheet" href="{% static 'css/styles.css' %}">
    <link rel="stylesheet" href="{% static 'fonts/Pacifico.css' %}">
    <div class="about-us-content">
        <div class="item">
            <div class="number">1</div>
            <div class="description">
                <p>在当前教育场景中，主观题的评阅效率与一致性长期困扰着教师与教学管理者。传统人工批改不仅耗时耗力，还容易受到主观因素影响，难以实现大规模、高质量的反馈机制。随着大语言模型能力的快速提升，借助其自然语言理解和生成能力实现智能阅卷已成为可能。</p>
            </div>
        </div>
        <div class="item">
            <div class="number">2</div>
            <div class="description">
                <p>构建一个高效、准确、可解释的主观题自动评分与反馈系统，减轻教师负担、提升教学反馈质量，是一个亟待解决的现实需求，我们的 <span class="highlight">珞珈智评 </span>由此诞生。</p>
            </div>
        </div>
    </div>
</div>

<!-- 联系方式 -->
<div class="content text-center">
    <address>
        <strong>有问题请联系</strong><br>
        <a>admin@example.com</a>
    </address>
</div>

<!-- 页面样式 -->
<style>
    body {
        background-color: rgb(240, 255, 250); /* 非常浅的浅绿 */
        color: rgb(0, 70, 58); /* 主体字体色：深青绿 */
    }

    .about-us-section {
        padding: 40px;
        background-color: #E0F7F4;
        margin: 0px;
        border-radius: 8px;
    }

    .about-us-title {
        font-size: 3.5em;
        font-family: 'Noto Sans Simplified';
        background: linear-gradient(135deg, #00695C 0%, #00897B 50%, #00BFA5 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        margin-bottom: 20px;
    }

    .about-us-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .item {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .number {
        background-color: #424656;
        color: #eaeaea;
        padding: 10px;
        border-radius: 4px;
        font-size: 2em;
        width: 40px;
        text-align: center;
    }

    .description {
        flex: 1;
    }

    .description h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .description p {
        font-size: 1.3em;
        line-height: 1.8;
    }

    .highlight {
        color: #009688;  /* 高亮改为青绿色 */
        font-weight: bold;
    }

        body {
        background-color: rgb(240, 255, 250);
        color: rgb(0, 70, 58);
    }

    .content h1 {
        color: rgb(0, 70, 58); /* 修复首页大标题颜色 */
    }

    .content h1 strong {
        color: #009688; /* 高亮“慧评星” */
    }

    .highlight {
        color: #009688;
        font-weight: bold;
    }
</style>

{% endblock %}
